package com.dongdong.service;

import com.dongdong.vo.Cart;

import java.util.List;

public interface CartService {
    List<Cart> addCart(List<Cart> cartList, Long itemId, Integer num);
    List<Cart> findCartListRedis(String userName);
    void addCartToRedis(List<Cart> cartList,String userName);
    List<Cart> merageCart(List<Cart> carListRdis,List<Cart> cartListCookie);
}
